#ifndef DIALOG_SELECTWORKGROUP_H
#define DIALOG_SELECTWORKGROUP_H

#include <QDialog>
#include <QSettings>
#include "inimanager.h"

namespace Ui {
class Dialog_selectWorkGroup;
}

class Dialog_selectWorkGroup : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog_selectWorkGroup(QWidget *parent = nullptr);
    ~Dialog_selectWorkGroup();
    void initData();
public slots:
    void on_btn_ok_clicked();

    void on_btn_cancel_clicked();

    void on_comboBox_name_currentIndexChanged(const QString &arg1);
    void do_setCurrentGroupSize(const QString &currentGroupSize);
signals:
    void currentGroupName(QString groupName);
    void currentGroupSize(QString groupSize);
private:
    Ui::Dialog_selectWorkGroup *ui;
    QSettings *settings;
    uint16_t m_currL;
    uint16_t m_currW;
    uint16_t m_currH;
    iniManager *m_iniManager = nullptr;
};

#endif // DIALOG_SELECTWORKGROUP_H
